﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： DCInterfaceLogEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/6/28
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("DCInterfaceLogID")]
	public class DCInterfaceLog
	{
		///<summary>
		///
		///</summary>
		public DCInterfaceLog()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("DCInterfaceLogID","")]
        public long DCInterfaceLogID { get; set; }

		///<summary>
		///接口地址
		///</summary>
        [Column("APIPath","接口地址")]
        public string APIPath { get; set; }

		///<summary>
		///请求参数
		///</summary>
        [Column("RequestParm","请求参数")]
        public string RequestParm { get; set; }

		///<summary>
		///响应结果
		///</summary>
        [Column("ResponseResult","响应结果")]
        public string ResponseResult { get; set; }

		///<summary>
		///请求时间
		///</summary>
        [Column("RequestDate","请求时间")]
        public DateTime RequestDate { get; set; }

		///<summary>
		///响应时间
		///</summary>
        [Column("ResponseDate","响应时间")]
        public DateTime ResponseDate { get; set; }

		///<summary>
		///调用来源(a:app,2:微信小程序,3:支付宝小程序、4:h5)
		///</summary>
        [Column("CallSource","调用来源(a:app,2:微信小程序,3:支付宝小程序、4:h5)")]
        public int CallSource { get; set; }

		///<summary>
		///关键字段（订单ID、用户ID等）
		///</summary>
        [Column("KeyField","关键字段（订单ID、用户ID等）")]
        public string KeyField { get; set; }

		///<summary>
		///响应状态(0成功,1失败)
		///</summary>
        [Column("ResponseStatus","响应状态(0成功,1失败)")]
        public int ResponseStatus { get; set; }

		///<summary>
		///
		///</summary>
        [Column("IP","")]
        public string IP { get; set; }

	}
}